class PrintBoard extends Sudoku{
	
	public static void printBoard(int[][] board) {
        for (int x=0; x<9; x++) {
	    System.out.println(x%3==0 ? "+-----+-----+-----+" : "|     |     |     |");
	    for (int y=0; y<9; y++)
		System.out.print((y%3==0 ? "|" : " ") + board[x][y]); 
	    System.out.println("|");
	}
	System.out.println("+-----+-----+-----+");
    }
}